Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network/darkhttpd: added rc script, config file, and default page #9630

Closed
wants to merge 1 commit into from

Conversation

Ythogtha
Copy link
Contributor

@Ythogtha Ythogtha commented Feb 7, 2025

Thanks to the work of r1w1s1, darkhttpd enters the modernity with a proper rc.darkhttpd script, a configuration file, and a default index page!

@Ythogtha
Copy link
Contributor Author

Ythogtha commented Feb 7, 2025

@sbo-bot: build network/darkhttpd

Copy link

github-actions bot commented Feb 7, 2025

reverse dependencies - network/darkhttpd

None

Copy link

github-actions bot commented Feb 7, 2025

✅ sbolint - network/darkhttpd ✅

darkhttpd: NOTE: darkhttpd.SlackBuild:66: LIBDIRSUFFIX gets set, but never used.
sbolint: darkhttpd checks out OK

Copy link

sbo-bot bot commented Feb 7, 2025

buildpkg i586 network/darkhttpd

Creating hintfile directory: /etc/repo/SBo/hintfiles
Checking whether git is clean ... yes.
Indexing SlackBuilds ... done.
git repo: /var/lib/repo/SBo/slackbuilds
branch:   HEAD
date:     Fri Feb  7 08:09:59 GMT 2025
revision: 9307da476747e0d955777cae8fa53c158a645909
title:    Merge 7bedda468c430ae88c5d2572cadc55e9555bbaeb into a0f045cceefff41f8345443e15f304b7e68287b1

================================================================================
network/darkhttpd                                                       08:11:01
================================================================================

Calculating dependencies ... none.

----------------------------------------------------------------------- 08:11:01
Building network/darkhttpd (update for git 7bedda4 "added rc script, config file, and default page")
Testing SlackBuild files ... done.
Downloading source files ...
Verifying source files ... done.
Running darkhttpd.SlackBuild ...                                    ETA 08:11:??
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./darkhttpd.SlackBuild
Built ok:  darkhttpd-1.16-i586-3_SBo.txz                                08:11:03
Testing package darkhttpd-1.16-i586-3_SBo.txz ... done.
Test installing darkhttpd-1.16-i586-3_SBo.txz ...
darkhttpd-1.16-i586-3_SBo: simple and lightweight HTTP server .......... [  90K]
Unmounting chroot ... done.
Backed up: darkhttpd-1.16-i586-2_SBo.txz
✅ network/darkhttpd Updated for git 7bedda4 "added rc script, config file, and default page" ✅

================================================================================
SUMMARY                                                                 08:11:04
================================================================================

Logfile:     /var/log/repo/SBo/repo_2025-02-07_08:11:00.log
Runtime:     0h 0m 4s
Updated:     1
  network/darkhttpd/darkhttpd-1.16-i586-3_SBo.txz

Snipped Build Log

Building network/darkhttpd (update for git 7bedda4 "added rc script, config file, and default page") 2025-02-07 08:11:01
Testing SlackBuild files ... 
Downloading source files ...
Verifying source files ... 
Running darkhttpd.SlackBuild ...                                    ETA 08:11:??
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./darkhttpd.SlackBuild
darkhttpd-1.16/
darkhttpd-1.16/.github/
darkhttpd-1.16/.github/workflows/
darkhttpd-1.16/.github/workflows/codeql-analysis.yml
darkhttpd-1.16/.gitignore
darkhttpd-1.16/COPYING
darkhttpd-1.16/Dockerfile
darkhttpd-1.16/Makefile
darkhttpd-1.16/README.md
darkhttpd-1.16/TODO
darkhttpd-1.16/darkhttpd.c
darkhttpd-1.16/devel/
darkhttpd-1.16/devel/Makefile
darkhttpd-1.16/devel/bench.c
darkhttpd-1.16/devel/checker
darkhttpd-1.16/devel/clang-warns
darkhttpd-1.16/devel/cppcheck
darkhttpd-1.16/devel/fuzz_llvm.sh
darkhttpd-1.16/devel/fuzz_llvm_make_safe_uri.c
darkhttpd-1.16/devel/fuzz_socket.cc
darkhttpd-1.16/devel/fuzz_socket.sh
darkhttpd-1.16/devel/fuzz_testcases/
darkhttpd-1.16/devel/fuzz_testcases/01
darkhttpd-1.16/devel/fuzz_testcases/04
darkhttpd-1.16/devel/fuzz_testcases/08
darkhttpd-1.16/devel/fuzz_testcases/20
darkhttpd-1.16/devel/fuzz_testcases/21
darkhttpd-1.16/devel/fuzz_testcases/30
darkhttpd-1.16/devel/fuzz_testcases/34
darkhttpd-1.16/devel/fuzz_testcases/36
darkhttpd-1.16/devel/fuzz_testcases/37
darkhttpd-1.16/devel/fuzz_testcases/38
darkhttpd-1.16/devel/fuzz_testcases/40
darkhttpd-1.16/devel/fuzz_testcases/41
darkhttpd-1.16/devel/fuzz_testcases/43
darkhttpd-1.16/devel/fuzz_testcases/48
darkhttpd-1.16/devel/fuzz_testcases/49
darkhttpd-1.16/devel/fuzz_testcases/50
darkhttpd-1.16/devel/open_sockets.py
darkhttpd-1.16/devel/run-tests
darkhttpd-1.16/devel/test.py
darkhttpd-1.16/devel/test_auth.py
darkhttpd-1.16/devel/test_custom_headers.py
darkhttpd-1.16/devel/test_forward.py
darkhttpd-1.16/devel/test_forward_all.py
darkhttpd-1.16/devel/test_forward_https.py
darkhttpd-1.16/devel/test_make_safe_uri.c
darkhttpd-1.16/devel/test_mimemap.py
darkhttpd-1.16/devel/test_no_listing.py
darkhttpd-1.16/devel/test_password_equal.c
darkhttpd-1.16/devel/test_server_id.py
darkhttpd-1.16/devel/test_timeout.py
darkhttpd-1.16/devel/warns
darkhttpd-1.16/group
darkhttpd-1.16/passwd
cc -O2 -march=i586 -mtune=i686 -pie `[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl -lsendfile` darkhttpd.c -o darkhttpd
/usr/bin/ld: /tmp/SBo/repo.KhnFqe/build_darkhttpd/ccrzjIUo.o: warning: relocation in read-only section `.text.startup'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating Slackware package:  /tmp/SBo/repo.KhnFqe/output_darkhttpd/darkhttpd-1.16-i586-3_SBo.txz

./
etc/
etc/default/
etc/default/darkhttpd.new
etc/rc.d/
etc/rc.d/rc.darkhttpd.new
install/
install/doinst.sh
install/slack-desc
srv/
srv/static/
srv/static/index.html
usr/
usr/bin/
usr/bin/darkhttpd
usr/doc/
usr/doc/darkhttpd-1.16/
usr/doc/darkhttpd-1.16/LICENSE
usr/doc/darkhttpd-1.16/README.md
usr/doc/darkhttpd-1.16/darkhttpd.SlackBuild

Slackware package /tmp/SBo/repo.KhnFqe/output_darkhttpd/darkhttpd-1.16-i586-3_SBo.txz created.

Built ok:  darkhttpd-1.16-i586-3_SBo.txz                                08:11:03
Testing package darkhttpd-1.16-i586-3_SBo.txz ... 
Test installing darkhttpd-1.16-i586-3_SBo.txz ...
darkhttpd-1.16-i586-3_SBo: simple and lightweight HTTP server .......... [  90K]
Unmounting chroot ... 
Backed up: darkhttpd-1.16-i586-2_SBo.txz
:-) network/darkhttpd Updated for git 7bedda4 "added rc script, config file, and default page" (-:

Copy link

sbo-bot bot commented Feb 7, 2025

sbopkglint i586 network/darkhttpd

Using tests from /usr/share/sbo-maintainer-tools/sbopkglint.d
Exploding /var/lib/repo/SBo/packages/15.0/i586/network/darkhttpd/darkhttpd-1.16-i586-3_SBo.txz to /tmp/SBo/sbopkglint.uDTyv5 ...OK
Running pre-doinst test...OK
Installing /var/lib/repo/SBo/packages/15.0/i586/network/darkhttpd/darkhttpd-1.16-i586-3_SBo.txz to /tmp/SBo/sbopkglint.uDTyv5 ...OK
Running test: 05-basic-sanity...OK
Running test: 10-docs...OK
Running test: 15-noarch...OK
Running test: 20-arch...OK
Running test: 25-lafiles...OK
Running test: 30-manpages...OK
Running test: 35-desktop...OK
Running test: 40-newconfig...OK
Running test: 45-doinst...OK
Running test: 50-icons...OK
Running test: 60-usr_info...OK
Running test: 65-python...OK
Running test: 70-tmp_path...OK
Running test: 75-static_libs...OK
Running test: 85-perl...OK
Running test: 90-terminfo...OK
✅ === darkhttpd-1.16-i586-3_SBo.txz: All tests passed ✅

Copy link

sbo-bot bot commented Feb 7, 2025

buildpkg x86_64 network/darkhttpd

Creating hintfile directory: /etc/repo/SBo/hintfiles
Checking whether git is clean ... yes.
Indexing SlackBuilds ... done.
git repo: /var/lib/repo/SBo/slackbuilds
branch:   HEAD
date:     Fri Feb  7 08:09:59 GMT 2025
revision: 9307da476747e0d955777cae8fa53c158a645909
title:    Merge 7bedda468c430ae88c5d2572cadc55e9555bbaeb into a0f045cceefff41f8345443e15f304b7e68287b1

================================================================================
network/darkhttpd                                                       08:12:01
================================================================================

Calculating dependencies ... none.

----------------------------------------------------------------------- 08:12:01
Building network/darkhttpd (update for git 7bedda4 "added rc script, config file, and default page")
Testing SlackBuild files ... done.
Downloading source files ...
Verifying source files ... done.
Running darkhttpd.SlackBuild ...                                    ETA 08:12:??
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./darkhttpd.SlackBuild
Built ok:  darkhttpd-1.16-x86_64-3_SBo.txz                              08:12:03
Testing package darkhttpd-1.16-x86_64-3_SBo.txz ... done.
Test installing darkhttpd-1.16-x86_64-3_SBo.txz ...
darkhttpd-1.16-x86_64-3_SBo: simple and lightweight HTTP server ........ [  80K]
Unmounting chroot ... done.
Backed up: darkhttpd-1.16-x86_64-2_SBo.txz
✅ network/darkhttpd Updated for git 7bedda4 "added rc script, config file, and default page" ✅

================================================================================
SUMMARY                                                                 08:12:04
================================================================================

Logfile:     /var/log/repo/SBo/repo_2025-02-07_08:12:01.log
Runtime:     0h 0m 4s
Updated:     1
  network/darkhttpd/darkhttpd-1.16-x86_64-3_SBo.txz

Snipped Build Log

Building network/darkhttpd (update for git 7bedda4 "added rc script, config file, and default page") 2025-02-07 08:12:01
Testing SlackBuild files ... 
Downloading source files ...
Verifying source files ... 
Running darkhttpd.SlackBuild ...                                    ETA 08:12:??
env MAKEFLAGS='-j24 -l13' nice -n 5 bash ./darkhttpd.SlackBuild
darkhttpd-1.16/
darkhttpd-1.16/.github/
darkhttpd-1.16/.github/workflows/
darkhttpd-1.16/.github/workflows/codeql-analysis.yml
darkhttpd-1.16/.gitignore
darkhttpd-1.16/COPYING
darkhttpd-1.16/Dockerfile
darkhttpd-1.16/Makefile
darkhttpd-1.16/README.md
darkhttpd-1.16/TODO
darkhttpd-1.16/darkhttpd.c
darkhttpd-1.16/devel/
darkhttpd-1.16/devel/Makefile
darkhttpd-1.16/devel/bench.c
darkhttpd-1.16/devel/checker
darkhttpd-1.16/devel/clang-warns
darkhttpd-1.16/devel/cppcheck
darkhttpd-1.16/devel/fuzz_llvm.sh
darkhttpd-1.16/devel/fuzz_llvm_make_safe_uri.c
darkhttpd-1.16/devel/fuzz_socket.cc
darkhttpd-1.16/devel/fuzz_socket.sh
darkhttpd-1.16/devel/fuzz_testcases/
darkhttpd-1.16/devel/fuzz_testcases/01
darkhttpd-1.16/devel/fuzz_testcases/04
darkhttpd-1.16/devel/fuzz_testcases/08
darkhttpd-1.16/devel/fuzz_testcases/20
darkhttpd-1.16/devel/fuzz_testcases/21
darkhttpd-1.16/devel/fuzz_testcases/30
darkhttpd-1.16/devel/fuzz_testcases/34
darkhttpd-1.16/devel/fuzz_testcases/36
darkhttpd-1.16/devel/fuzz_testcases/37
darkhttpd-1.16/devel/fuzz_testcases/38
darkhttpd-1.16/devel/fuzz_testcases/40
darkhttpd-1.16/devel/fuzz_testcases/41
darkhttpd-1.16/devel/fuzz_testcases/43
darkhttpd-1.16/devel/fuzz_testcases/48
darkhttpd-1.16/devel/fuzz_testcases/49
darkhttpd-1.16/devel/fuzz_testcases/50
darkhttpd-1.16/devel/open_sockets.py
darkhttpd-1.16/devel/run-tests
darkhttpd-1.16/devel/test.py
darkhttpd-1.16/devel/test_auth.py
darkhttpd-1.16/devel/test_custom_headers.py
darkhttpd-1.16/devel/test_forward.py
darkhttpd-1.16/devel/test_forward_all.py
darkhttpd-1.16/devel/test_forward_https.py
darkhttpd-1.16/devel/test_make_safe_uri.c
darkhttpd-1.16/devel/test_mimemap.py
darkhttpd-1.16/devel/test_no_listing.py
darkhttpd-1.16/devel/test_password_equal.c
darkhttpd-1.16/devel/test_server_id.py
darkhttpd-1.16/devel/test_timeout.py
darkhttpd-1.16/devel/warns
darkhttpd-1.16/group
darkhttpd-1.16/passwd
cc -O2 -fPIE -pie `[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl -lsendfile` darkhttpd.c -o darkhttpd

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating Slackware package:  /tmp/SBo/repo.QRTVQ6/output_darkhttpd/darkhttpd-1.16-x86_64-3_SBo.txz

./
etc/
etc/default/
etc/default/darkhttpd.new
etc/rc.d/
etc/rc.d/rc.darkhttpd.new
install/
install/doinst.sh
install/slack-desc
srv/
srv/static/
srv/static/index.html
usr/
usr/bin/
usr/bin/darkhttpd
usr/doc/
usr/doc/darkhttpd-1.16/
usr/doc/darkhttpd-1.16/LICENSE
usr/doc/darkhttpd-1.16/README.md
usr/doc/darkhttpd-1.16/darkhttpd.SlackBuild

Slackware package /tmp/SBo/repo.QRTVQ6/output_darkhttpd/darkhttpd-1.16-x86_64-3_SBo.txz created.

Built ok:  darkhttpd-1.16-x86_64-3_SBo.txz                              08:12:03
Testing package darkhttpd-1.16-x86_64-3_SBo.txz ... 
Test installing darkhttpd-1.16-x86_64-3_SBo.txz ...
darkhttpd-1.16-x86_64-3_SBo: simple and lightweight HTTP server ........ [  80K]
Unmounting chroot ... 
Backed up: darkhttpd-1.16-x86_64-2_SBo.txz
:-) network/darkhttpd Updated for git 7bedda4 "added rc script, config file, and default page" (-:

Copy link

sbo-bot bot commented Feb 7, 2025

sbopkglint x86_64 network/darkhttpd

Using tests from /usr/share/sbo-maintainer-tools/sbopkglint.d
Exploding /var/lib/repo/SBo/packages/15.0/x86_64/network/darkhttpd/darkhttpd-1.16-x86_64-3_SBo.txz to /tmp/SBo/sbopkglint.HOO3u9 ...OK
Running pre-doinst test...OK
Installing /var/lib/repo/SBo/packages/15.0/x86_64/network/darkhttpd/darkhttpd-1.16-x86_64-3_SBo.txz to /tmp/SBo/sbopkglint.HOO3u9 ...OK
Running test: 05-basic-sanity...OK
Running test: 10-docs...OK
Running test: 15-noarch...OK
Running test: 20-arch...OK
Running test: 25-lafiles...OK
Running test: 30-manpages...OK
Running test: 35-desktop...OK
Running test: 40-newconfig...OK
Running test: 45-doinst...OK
Running test: 50-icons...OK
Running test: 60-usr_info...OK
Running test: 65-python...OK
Running test: 70-tmp_path...OK
Running test: 75-static_libs...OK
Running test: 85-perl...OK
Running test: 90-terminfo...OK
✅ === darkhttpd-1.16-x86_64-3_SBo.txz: All tests passed ✅

@willysr
Copy link
Member

willysr commented Feb 7, 2025

merged

@willysr willysr closed this Feb 7, 2025
@Ythogtha Ythogtha deleted the darkhttpd branch February 10, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants